package com.ecarx.havania

import android.animation.ObjectAnimator
import android.content.Context
import android.graphics.Canvas
import android.graphics.PointF
import android.util.AttributeSet
import android.view.View

/**
整体动画效果主View
@author like
@date 2021/8/31
 */
open class AtomContainLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : View(context,attrs,defStyleAttr) {

    /**
     * 开始点X坐标
     */
    private val startX = PointF()

    /**
     * 开始点X坐标
     */
    private val endX = PointF()

    /**
     * 开始点Y坐标
     */
    private val startY = PointF()

    /**
     * 结束点Y坐标
     */
    private val endY = PointF()

    /**
     * 风向粒子动画
     */
    private lateinit var flowAnimator: ObjectAnimator

    init {
    }

    override fun onDraw(canvas: Canvas?) {
        super.onDraw(canvas)
    }


    override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec)

    }


}